package com.ryskoo.customer.vendorinfo.repository;

import com.ryskoo.customer.vendorinfo.domain.VendorInfoPO;
import com.ryskoo.framework.core.repository.IBasicRepository;

import java.util.List;

/**
 * @author xman
 */
public interface IVendorInfoRepository extends IBasicRepository<VendorInfoPO> {

	/**
	 * 根据VendorUuids 查询 VendorInfo
	 * 
	 * @param VendorUuids
	 * @return
	 */
	public List<VendorInfoPO> getByVendorUuids(List<String> vendorUuids);

	/**
	 * 根据 VendorUuid 查询 vendorInfo
	 * 
	 * @param VendorUuid
	 * @return
	 */
	public VendorInfoPO getByVendorUuid(String vendorUuid);

	/**
	 * 根据 VendorUuids 删除 VendorInfo
	 * 
	 * @param List<String>
	 *            needDeleteVendorUuids
	 * @return
	 */
	public void deletesByVendorUuids(List<String> needDeleteVendorUuids);

}
